package com.dongdongshop.service;

import com.dongdongshop.pojo.TbContent;
import com.dongdongshop.util.PageBean;

import java.util.List;

/**
 * @Description
 * @ClassName ContentService
 * @Author RC
 * @date 2020.12.16 16:20
 */
public interface ContentService {
    PageBean<TbContent> getContentList(Integer pageNumber, Integer pageSize);

    void saveContentCagetory(TbContent tbContent);

    TbContent getContentListById(Long id);

    void updateContentCagetory(TbContent tbContent);

    void deleteBatchContent(Long[] ids);

    List<TbContent> getContentForBanner();

    List<TbContent> getContenttodayShow();

    List<TbContent> getContentLikeShop();
}
